Finding the unloaded geometry#

from fenics_plotly import plot
import pulse
geometry = pulse.HeartGeometry.from_file(pulse.mesh_paths["simple_ellipsoid"])
# geometry = pulse.geometries.prolate_ellipsoid_geometry(mesh_size_factor=3.0)
material = pulse.NeoHookean()
# material = pulse.Guccione()
2023-10-04 09:48:40,202 [624] INFO     pulse.geometry_utils: 
Load mesh from h5
# Parameter for the cardiac boundary conditions
bcs_parameters = pulse.MechanicsProblem.default_bcs_parameters()
bcs_parameters["base_spring"] = 1.0
bcs_parameters["base_bc"] = "fix_x"
# Create the problem
problem = pulse.MechanicsProblem(geometry, material, bcs_parameters=bcs_parameters)
# Suppose geometry is loaded with a pressure of 1 kPa
# and create the unloader
unloader = pulse.FixedPointUnloader(problem=problem, pressure=3.0)
2023-10-04 09:48:40,375 [624] INFO     pulse.unloader: 

-------------------------- Unloading options ---------------------------

	Target pressure: 3.0
	maxiter = 10
	tolerance = 0.0001
	regenerate_fibers (serial only)= False

------------------------------------------------------------------------
# Unload the geometry
unloader.unload()
2023-10-04 09:48:40,381 [624] INFO     pulse.unloader: ------------------------------------------------------------------------
2023-10-04 09:48:40,382 [624] INFO     pulse.unloader: ----------------------------Start unloading-----------------------------
2023-10-04 09:48:40,382 [624] INFO     pulse.unloader: ------------------------------------------------------------------------
2023-10-04 09:48:40,418 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:48:40,419 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:48:40,420 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:48:40,420 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:48:40,630 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  1	full
2023-10-04 09:48:41,651 [624] INFO     pulse.unloader: 
LV Volume of original geometry = 0.749 ml
2023-10-04 09:48:41,685 [624] INFO     pulse.unloader: 
Do an intial solve
2023-10-04 09:48:41,795 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:48:41,796 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:48:41,798 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:48:41,800 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:48:41,800 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:48:42,423 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2023-10-04 09:48:42,514 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
2023-10-04 09:48:42,773 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2023-10-04 09:49:32,210 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:49:32,210 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:49:32,212 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:49:32,213 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:49:32,213 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:49:32,432 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2023-10-04 09:49:32,524 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-10-04 09:49:32,760 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-10-04 09:49:37,179 [624] INFO     pulse.unloader: 
Iteration: 0
2023-10-04 09:49:41,861 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-10-04 09:49:41,913 [624] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-10-04 09:49:47,377 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:49:47,383 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-10-04 09:49:47,438 [624] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-10-04 09:49:47,937 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:49:47,996 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:49:47,998 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:49:48,053 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:49:48,055 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:49:48,108 [624] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.568 ml
2023-10-04 09:49:48,309 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:49:48,310 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:49:48,311 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:49:48,312 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:49:48,313 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:49:48,684 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2023-10-04 09:49:48,775 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
2023-10-04 09:49:49,032 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2023-10-04 09:50:38,441 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:50:38,442 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:50:38,443 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:50:38,446 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:50:38,448 [624] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-10-04 09:50:38,621 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2023-10-04 09:50:38,712 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-10-04 09:50:38,947 [624] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-10-04 09:50:43,343 [624] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.568 ml
2023-10-04 09:50:43,571 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:43,572 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:43,629 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:43,630 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:43,686 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:43,688 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:43,738 [624] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.717 ml
2023-10-04 09:50:43,753 [624] INFO     pulse.unloader: 
Residual:	0.011328623428538194
2023-10-04 09:50:43,753 [624] INFO     pulse.unloader: 
Iteration: 1
2023-10-04 09:50:43,981 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:43,983 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:44,038 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:44,040 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:44,095 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:44,097 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:44,147 [624] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.596 ml
2023-10-04 09:50:48,003 [624] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.596 ml
2023-10-04 09:50:48,233 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,236 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,293 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,294 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,351 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,352 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,404 [624] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.754 ml
2023-10-04 09:50:48,419 [624] INFO     pulse.unloader: 
Residual:	0.001698010214540216
2023-10-04 09:50:48,420 [624] INFO     pulse.unloader: 
Iteration: 2
2023-10-04 09:50:48,647 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,649 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,705 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,707 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,762 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,763 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:48,813 [624] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.592 ml
2023-10-04 09:50:52,660 [624] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.592 ml
2023-10-04 09:50:52,887 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:52,889 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:52,946 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:52,947 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:53,003 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:53,006 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:53,057 [624] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.749 ml
2023-10-04 09:50:53,071 [624] INFO     pulse.unloader: 
Residual:	0.00025928769312986966
2023-10-04 09:50:53,073 [624] INFO     pulse.unloader: 
Iteration: 3
2023-10-04 09:50:53,300 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:53,302 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:53,357 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:53,359 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:53,414 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:53,415 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:53,466 [624] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.593 ml
2023-10-04 09:50:57,316 [624] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.593 ml
2023-10-04 09:50:57,543 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:57,545 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:57,601 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:57,604 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:57,660 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:57,662 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:57,713 [624] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.750 ml
2023-10-04 09:50:57,727 [624] INFO     pulse.unloader: 
Residual:	3.93130429591956e-05
2023-10-04 09:50:57,727 [624] INFO     pulse.unloader: ########################################################################
Unloading suceeding
# Get the unloaded geometry
unloaded_geometry = unloader.unloaded_geometry
2023-10-04 09:50:57,964 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:57,966 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:58,022 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:58,023 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:58,079 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-10-04 09:50:58,080 [624] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
fig = plot(geometry.mesh, opacity=0.0, show=False)
fig.add_plot(plot(unloaded_geometry.mesh, color="red", show=False))
fig.show()